﻿using System;

namespace com.foxmail.wyyuan1991.Assignment.Solver
{
    //ALS完成一次迭代
    public delegate void ALSIterationFinishedEventHandler(object sender, ALSIterationFinishedEventArgs e);
    //定义事件参数类
    public class ALSIterationFinishedEventArgs : EventArgs
    {
        public int Itera { get; set; }
        public double Penalty { get; set; }
        public double Evalution { get; set; }
        public ALSIterationFinishedEventArgs(int _itera,double _penalty,double _evalution)
        {
            Itera = _itera;
            Penalty = _penalty;
            Evalution = _evalution;
        }
    }
}
